#!usr/bin/node

class Circle {
  constructor(radius) {
    this.#r = radius;
  }
  get area() {
    return Math.PI * this.#r * this.#r;
  }
  get perimeter() {
    return 2 * Math.PI * this.#r;
  }
  get diameter() {
    return 2 * this.#r;
  }
  #r = 0;
}

module.exports = Circle;

